package com.jzr.bedside.bean;

import java.util.List;

public class SatisfySurveyListBean {


    /**
     * code : 0
     * status : 0
     * message : 处理成功
     * msg : 处理成功
     * count : 0
     * timestamp : 2020-09-30T02:10:26.742Z
     * data : [{"controlId":1,"title":"对护士的服务态度感到满意吗?","type":"radio","defaultValue":"1","maxValue":"","isReadonly":true,"options":[{"optionId":41,"code":"1","name":"满意"},{"optionId":39,"code":"2","name":"非常满意"},{"optionId":40,"code":"3","name":"不满意"}]},{"controlId":12,"title":"每天护士换药及时吗?","type":"radio","defaultValue":"1","options":[{"optionId":44,"code":"1","name":"满意"},{"optionId":45,"code":"2","name":"非常满意"},{"optionId":46,"code":"3","name":"不满意"}]},{"controlId":13,"title":"对医疗环境感到满意吗?","type":"radio","defaultValue":"1","options":[{"optionId":50,"code":"1","name":"满意"},{"optionId":51,"code":"2","name":"非常满意"},{"optionId":52,"code":"3","name":"不满意"}]},{"controlId":14,"title":"对医生的服务态度感到满意吗?","type":"radio","defaultValue":"1","options":[{"optionId":54,"code":"1","name":"满意"},{"optionId":55,"code":"2","name":"非常满意"},{"optionId":56,"code":"3","name":"不满意"}]}]
     */

    private int code;
    private int status;
    private String message;
    private String msg;
    private int count;
    private String timestamp;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * controlId : 1
         * title : 对护士的服务态度感到满意吗?
         * type : radio
         * defaultValue : 1
         * maxValue :
         * isReadonly : true
         * options : [{"optionId":41,"code":"1","name":"满意"},{"optionId":39,"code":"2","name":"非常满意"},{"optionId":40,"code":"3","name":"不满意"}]
         */

        private int controlId;
        private String title;
        private String type;
        private String defaultValue;
        private String maxValue;
        private boolean isReadonly;
        private List<OptionsBean> options;

        public int getControlId() {
            return controlId;
        }

        public void setControlId(int controlId) {
            this.controlId = controlId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDefaultValue() {
            return defaultValue;
        }

        public void setDefaultValue(String defaultValue) {
            this.defaultValue = defaultValue;
        }

        public String getMaxValue() {
            return maxValue;
        }

        public void setMaxValue(String maxValue) {
            this.maxValue = maxValue;
        }

        public boolean isIsReadonly() {
            return isReadonly;
        }

        public void setIsReadonly(boolean isReadonly) {
            this.isReadonly = isReadonly;
        }

        public List<OptionsBean> getOptions() {
            return options;
        }

        public void setOptions(List<OptionsBean> options) {
            this.options = options;
        }

        public static class OptionsBean {
            /**
             * optionId : 41
             * code : 1
             * name : 满意
             */

            private int optionId;
            private String code;
            private String name;
            private  boolean isCheck;


            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public int getOptionId() {
                return optionId;
            }

            public void setOptionId(int optionId) {
                this.optionId = optionId;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
